package org.wak.action.actions
{
	import org.wak.action.IInteractable;
	import org.wak.character.display.AbstractCharacterDisplay;
	import org.wak.main.AdventureMaster;
	
	public class TalkToAction extends BaseAction
	{
		public function TalkToAction()
		{
			super();
			mActionId = AdventureActions.ActionIdTalkTo ;
			mActionText = AdventureMaster.Texts.TalktoText ;
		}
		
		public override function GetNoActionText():String
		{
			return AdventureMaster.Texts.TalktoNoAction ;
		} 
		
		public override function TestParameter(pItem:IInteractable):Boolean
		{
			if( pItem is AbstractCharacterDisplay )
			{
				return true ;
			}
			return false ;
		}
	}
}